<%@ page import="kioscodeal.Comercio" %>



<div class="fieldcontain ${hasErrors(bean: comercioInstance, field: 'calle', 'error')} required">
	<label for="calle">
		<g:message code="comercio.calle.label" default="Calle" />
		<span class="required-indicator">*</span>
	</label>
	<div class="input-group input-group">
		<span class="input-group-addon"><i class="fa fa-edit"></i></span>
		<g:textField name="calle" required="" value="${comercioInstance?.calle}"/>
	</div>

</div>

<div class="fieldcontain ${hasErrors(bean: comercioInstance, field: 'numeroDireccion', 'error')} required">
	<label for="numeroDireccion">
		<g:message code="comercio.numeroDireccion.label" default="Numero Direccion" />
		<span class="required-indicator">*</span>
	</label>
	<div class="input-group input-group">
		<span class="input-group-addon"><i class="fa fa-edit"></i></span>
		<g:field name="numeroDireccion" type="number" value="${comercioInstance.numeroDireccion}" required=""/>
	</div>
</div>

<div class="fieldcontain ${hasErrors(bean: comercioInstance, field: 'localidad', 'error')} required">
	<label for="localidad">
		<g:message code="comercio.localidad.label" default="Localidad" />
		<span class="required-indicator">*</span>
	</label>
	<div class="input-group input-group">
		<span class="input-group-addon"><i class="fa fa-edit"></i></span>
		<g:textField name="localidad" required="" value="${comercioInstance?.localidad}"/>
	</div>
</div>

<div class="fieldcontain ${hasErrors(bean: comercioInstance, field: 'codigoPostal', 'error')} required">
	<label for="codigoPostal">
		<g:message code="comercio.codigoPostal.label" default="Codigo Postal" />
		<span class="required-indicator">*</span>
	</label>
	<div class="input-group input-group">
		<span class="input-group-addon"><i class="fa fa-edit"></i></span>	
		<g:field name="codigoPostal" type="number" value="${comercioInstance.codigoPostal}" required=""/>
	</div>
</div>

<div class="fieldcontain ${hasErrors(bean: comercioInstance, field: 'minimoCompraGeneral', 'error')} required">
	<label for="minimoCompraGeneral">
		<g:message code="comercio.minimoCompraGeneral.label" default="Compra Mínima General" />
		<span class="required-indicator">*</span>
	</label>
	<div class="input-group input-group">
		<span class="input-group-addon"><i class="fa fa-edit"></i></span>	
		<g:field name="minimoCompraGeneral" type="number" value="${comercioInstance.minimoCompraGeneral}" required=""/>
	</div>
</div>
